<?php

/**
 * premiumAccount actions.
 *
 * @package    ogrod3d
 * @subpackage premiumAccount
 * @author     Pawel Kubasiak
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class premiumAccountActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {

  }
  
  public function executeGetPrice(sfWebRequest $request)
  {	
	$id=$request->getParameter('id');
	
	//$c=new Criteria();
	//$c->add(premiumAccountPeer::ID,$this->garden_id);
	//$data=premiumAccountPeer::doSelect($c);
	
	$data = premiumAccountQuery::create()->findPK($id);	
	return $this->renderText($data->getPrice());
	
  }
  
}
